package com.lonni.rpc.core.socket.codec;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * Netty传输消息类
 *
 * @author: Lonni
 * @date: 2024/7/8 0008 16:21
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class RpcProtocol<T> implements Serializable {
    private RpcProtocolHeader header;
    private T body;




}



